﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace PuroGame.Admin.Controllers
{
    public class NoticiasController : Controller
    {
        //
        // GET: /Noticias/

        public ActionResult Index()
        {
            return View();
        }


        [HttpPost]
        public ActionResult Save(ViewData.NoticiasViewData model)
        {
            Models.NoticiasModel.Save(model);
            return View("Index", new ViewData.NoticiasViewData());
        }

        public ActionResult Destaques()
        {
            return View();
        }
    }
}
